#! /usr/bin/env python
#coding=utf-8
#
import redis

key_to = 'redis_pan_user_to'
key_ed = 'redis_pan_user_ed'
key_mi = 'redis_pan_user_mi'
key_no = 'redis_pan_errno'
r =  redis.Redis(host='localhost', port=6379)

# print r.smembers(key_to)
# print r.smembers(key_mi)
# print r.smembers(key_ed)
# print r.smembers(key_no)

r.delete(key_to)
r.delete(key_mi)
r.delete(key_ed)
r.delete(key_no)

print r.smembers(key_to)
print r.smembers(key_mi)
print r.smembers(key_ed)
print r.smembers(key_no)